import DashBoard from "../pages/DashBoard";
import ItemLists from '@p/ItemLists'
import CateLists from '@p/CateLists'
import ItemAdd from '@p/ItemAdd'
import ItemUpdate from '@p/ItemUpdate'
import UserInfo from '@p/UserInfo'
import Setting from '@p/SettingPage'

export default [
  {
    path: '/dashBoard',
    name: '仪表盘',
    element: DashBoard
  },
  {
    path: '/itemLists',
    name: '商品管理',
    element: ItemLists
  },
  {
    path: '/CateLists',
    name: '商品分类管理',
    element: CateLists
  },
  {
    path: '/itemAdd',
    name: '添加商品',
    element: ItemAdd
  },
  {
    path: '/itemUpdate/:id',
    name: '修改商品',
    element: ItemUpdate
  },
  {
    path: '/userInfo',
    name: '个人中心',
    element: UserInfo
  },
  {
    path: '/setting',
    name: '设置',
    element: Setting
  }
]